package com.probox.common.entity.domain.product.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "商品评论信息vo")
public class ProductCommentVo {
    private String isShow;
    @ApiModelProperty(value = "评论uid")
    private Long commentUid;
    @ApiModelProperty(value = "订单编号")
    private String orderNo;
    @ApiModelProperty(value = "评论内容")
    private String commentContent;
    @ApiModelProperty(value = "评论视频")
    private String commentVideo;
    @ApiModelProperty(value = "评论图片")
    private String imagesUrl;
    @ApiModelProperty(value = "评论时间")
    private String commentTime;
    @ApiModelProperty(value = "评论昵称")
    private String memberNickName;
    @ApiModelProperty(value = "评论账号")
    private String memberName;
    @ApiModelProperty(value = "评论头像")
    private String memberHeadUrl;
    @ApiModelProperty(value = "商品名字")
    private String productName;
    @ApiModelProperty(value = "商品图片")
    private String productImgUrl;
    @ApiModelProperty(value = "sku信息")
    private String valuesDesc;
    @ApiModelProperty(value = "商品uid")
    private Long productUid;
    @ApiModelProperty(value = "商家回复内容")
    private String merchantTxt;
    @ApiModelProperty(value = "商家名称")
    private String merchantName;
    @ApiModelProperty(value = "商家回复昵称")
    private String merchantTime;
    private Long orderUid;
    @ApiModelProperty(value = "告诉前端评论隐藏")
    private String commentHide;

    private Integer serviceScore;
    private Integer productScore;
    private Integer logisticsScore;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }


    public String getImagesUrl() {
        return imagesUrl;
    }

    public void setImagesUrl(String imagesUrl) {
        this.imagesUrl = imagesUrl;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public String getCommentVideo() {
        return commentVideo;
    }

    public void setCommentVideo(String commentVideo) {
        this.commentVideo = commentVideo;
    }

    public String getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(String commentTime) {
        this.commentTime = commentTime;
    }

    public String getMemberNickName() {
        return memberNickName;
    }

    public void setMemberNickName(String memberNickName) {
        this.memberNickName = memberNickName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductImgUrl() {
        return productImgUrl;
    }

    public void setProductImgUrl(String productImgUrl) {
        this.productImgUrl = productImgUrl;
    }

    public String getValuesDesc() {
        return valuesDesc;
    }

    public void setValuesDesc(String valuesDesc) {
        this.valuesDesc = valuesDesc;
    }

    public String[] getCarouselImgs() {
        if (imagesUrl != null && imagesUrl != "") {
            String[] split = imagesUrl.split(",");
            return split;
        }
        return null;
    }

    public Long getProductUid() {
        return productUid;
    }

    public void setProductUid(Long productUid) {
        this.productUid = productUid;
    }

    public String getMerchantTxt() {
        return merchantTxt;
    }

    public void setMerchantTxt(String merchantTxt) {
        this.merchantTxt = merchantTxt;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getMerchantTime() {
        return merchantTime;
    }

    public void setMerchantTime(String merchantTime) {
        this.merchantTime = merchantTime;
    }

    public Long getCommentUid() {
        return commentUid;
    }

    public void setCommentUid(Long commentUid) {
        this.commentUid = commentUid;
    }


    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberHeadUrl() {
        return memberHeadUrl;
    }

    public void setMemberHeadUrl(String memberHeadUrl) {
        this.memberHeadUrl = memberHeadUrl;
    }

    public Long getOrderUid() {
        return orderUid;
    }

    public void setOrderUid(Long orderUid) {
        this.orderUid = orderUid;
    }

    public String getCommentHide() {
        return commentHide;
    }

    public void setCommentHide(String commentHide) {
        this.commentHide = commentHide;
    }

    public ProductCommentVo() {
    }

    public ProductCommentVo(String commentHide) {
        this.commentHide = commentHide;
    }

    public String getIsShow() {
        return isShow;
    }

    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }

    public Integer getServiceScore() {
        return serviceScore;
    }

    public void setServiceScore(Integer serviceScore) {
        this.serviceScore = serviceScore;
    }

    public Integer getProductScore() {
        return productScore;
    }

    public void setProductScore(Integer productScore) {
        this.productScore = productScore;
    }

    public Integer getLogisticsScore() {
        return logisticsScore;
    }

    public void setLogisticsScore(Integer logisticsScore) {
        this.logisticsScore = logisticsScore;
    }

    public Integer getServiceScoreNum() {
        return this.serviceScore / 10;
    }

    public Integer getProductScoreNum() {
        return this.productScore / 10;
    }

    public Integer getLogisticsScoreNum() {
        return this.logisticsScore / 10;
    }
}
